﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Navigation;

namespace Fayshine.VA.Views
{
    public partial class Test4 : Page
    {
        public Test4()
        {
            InitializeComponent();
            this.Loaded += new RoutedEventHandler(Test4_Loaded);
        }

        void Test4_Loaded(object sender, RoutedEventArgs e)
        {
            List<Customer> cust = new List<Customer>();
            cust.Add(new Customer() { Time = "00:00", Number = 2 });
            cust.Add(new Customer() { Time = "01:00", Number = 5 });
            cust.Add(new Customer() { Time = "02:00", Number = 10 });
            cust.Add(new Customer() { Time = "03:00", Number = 2 });
            cust.Add(new Customer() { Time = "05:00", Number = 11 });
            cust.Add(new Customer() { Time = "06:00", Number = 15 });
            cust.Add(new Customer() { Time = "07:00", Number = 20 });
            cust.Add(new Customer() { Time = "08:00", Number = 30 });
            cust.Add(new Customer() { Time = "09:00", Number = 40 });
            cust.Add(new Customer() { Time = "10:00", Number = 55 });
            cust.Add(new Customer() { Time = "11:00", Number = 100 });
            cust.Add(new Customer() { Time = "12:00", Number = 120 });
            cust.Add(new Customer() { Time = "13:00", Number = 140 });
            cust.Add(new Customer() { Time = "14:00", Number = 143 });
            cust.Add(new Customer() { Time = "15:00", Number = 150 });
            cust.Add(new Customer() { Time = "16:00", Number = 160 });
            cust.Add(new Customer() { Time = "17:00", Number = 80 });
            cust.Add(new Customer() { Time = "18:00", Number = 78 });
            cust.Add(new Customer() { Time = "19:00", Number = 66 });
            cust.Add(new Customer() { Time = "20:00", Number = 120 });
            cust.Add(new Customer() { Time = "21:00", Number = 70 });
            cust.Add(new Customer() { Time = "22:00", Number = 60 });
            cust.Add(new Customer() { Time = "23:00", Number = 30 });


            A a = new A();
            a.AA = cust;

            this.DataContext = a;
        }

        // Executes when the user navigates to this page.
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
        }

    }
}
